package com.fire.control.system.module.middleware.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fire.control.system.entity.Middleware;
import com.fire.control.system.support.protocol.middleware.MiddleWareRequestProtocol;

public interface MiddleWareMapper {

	//获得中间件列表
	public List<Middleware> getMiddlewareList(MiddleWareRequestProtocol requestProtocol);
	
	//添加中间件
	public int addMiddleWare(Middleware middleware);
	
	public int deleteMiddleWare(@Param("middleWareId")String[] middleWareIds);
}
